package L7_0317;

public class AgeCheck28_30 implements Check{
    @Override
     public boolean test(Person p) {
        if (p.getAge() >= 28 && p.getAge() <= 30) return true;
        return false;
    }
}
